cmake_minimum_required(VERSION 3.10)

# 网络模块库
add_library(network_lib
    epoll_server.cpp
)

# 添加头文件搜索路径
target_include_directories(network_lib PUBLIC
    ${CMAKE_SOURCE_DIR}/include
)

# 链接线程库
target_link_libraries(network_lib PRIVATE
    pthread
) 